package cn.wxq.daily.empdailymgforserve.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.util.List;

/**
 * 财务管理-费用报销
 */
public class Reimbursement{
    /**
     * ID
     */
    private Integer reimId;

    private Integer userId;

    private String nickName;
    /**
     * 报销类别（1：差旅费，2：交通费，3：办公用品，4：运输费）
     */
    private String reimType;
    /**
     * 理由
     */
    private String reimReson;
    /**
     * 金额
     */
    private Float reimCount;


    /**
     * 审核状态（1：通过，2：未审核)
     */
    private String reimStatus;
    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;


    /**
     * 用户对象
     */
    private List<User> users;
    /**
     * 审核对象
     */
    private ReimbursementAudit reimbursementAudit;

    public Integer getReimId() {
        return reimId;
    }

    public void setReimId(Integer reimId) {
        this.reimId = reimId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getReimType() {
        return reimType;
    }

    public void setReimType(String reimType) {
        this.reimType = reimType;
    }

    public String getReimReson() {
        return reimReson;
    }

    public void setReimReson(String reimReson) {
        this.reimReson = reimReson;
    }

    public Float getReimCount() {
        return reimCount;
    }

    public void setReimCount(Float reimCount) {
        this.reimCount = reimCount;
    }

    public String getReimStatus() {
        return reimStatus;
    }

    public void setReimStatus(String reimStatus) {
        this.reimStatus = reimStatus;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    public ReimbursementAudit getReimbursementAudit() {
        return reimbursementAudit;
    }

    public void setReimbursementAudit(ReimbursementAudit reimbursementAudit) {
        this.reimbursementAudit = reimbursementAudit;
    }

    @Override
    public String toString() {
        return "Reimbursement{" +
                "reimId=" + reimId +
                ", userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", reimType='" + reimType + '\'' +
                ", reimReson='" + reimReson + '\'' +
                ", reimCount=" + reimCount +
                ", reimStatus='" + reimStatus + '\'' +
                ", addTime=" + addTime +
                ", users=" + users +
                ", reimbursementAudit=" + reimbursementAudit +
                '}';
    }
}
